let input = "dir\n\tsubdir1\n\t\tfile1.ext\n\t\tsubsubdir1\n\tsubdir2\n\t\tsubsubdir2\n\t\t\tfile2.ext"
var lengthLongestPath = function(input) {
    let arr = input.split('\n')
    let ans = []
    
};
lengthLongestPath(input)